<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\GoodSpu
 *
 * @property int $id 自增id
 * @property int $goods_id 商品id
 * @property string|null $spu_name 属性名
 * @property float $price 商品价格
 * @property int $stock 商品库存
 * @property int $sort 排序
 * @property int $status 状态
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodSpu onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereSpuName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodSpu whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\GoodSpu withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodSpu withoutTrashed()
 * @mixin \Eloquent
 */
class GoodSpu extends Model
{
    protected $table="good_spu";
    use SoftDeletes;
}
